const menus = [
    {
        path: '/',
        name: 'Home',
        component: 'Layout',
        redirect: '/dashboard',
        meta: { title: '平台首页', icon: 'dashboard' },
        children: [{
            path: '/dashboard',
            name: 'Dashboard',
            component: 'views/Home/index',
            meta: { title: '平台首页', icon: 'dashboard' }
        }]
    },
    {
        path: '/user',
        component: 'Layout',
        meta: { title: '员工管理', icon: 'user' },
        redirect: '/user/index',
        children: [
            {
                path: '/user/index',
                name: 'Users',
                component: 'views/User/index',
                meta: { title: '员工列表', icon: 'list' }
            },
            {
                path: '/department',
                name: 'Department',
                component: 'views/User/department',
                meta: { title: '部门列表', icon: 'department' }
            },
            {
                path: '/person',
                name: 'Person',
                component: 'views/User/person',
                meta: { title: '用户中心', hide: true, icon: 'person'}
            },
            {
                path: '/password',
                name: 'Password',
                component: 'views/User/password',
                meta: { title: '密码修改', hide: true, icon: 'password' }
            },
            {
                path: '/history',
                name: 'History',
                component: 'views/User/history',
                meta: { title: '操作日志', hide: true, icon: 'history' }
            }
        ]
    }
]
export default menus
